import { Col, Row } from 'antd'

const Layout = ({ children, label }: any) => {
	return (
		<>
			<Row gutter={8}>
				<Col span={4} style={{ textAlign: 'right', lineHeight: '32px', fontSize: 14 }}>
					{label ? label + ':' : ''}
				</Col>
				<Col span={9}>{children}</Col>
			</Row>
			<div style={{ height: '12px' }}></div>
		</>
	)
}

export default Layout
